Optimal. Leaf size=97 \[ -\frac{b (3 A b-2 a B) \log \left (a+b x^3\right )}{3 a^4}+\frac{b \log (x) (3 A b-2 a B)}{a^4}+\frac{b (A b-a B)}{3 a^3 \left (a+b x^3\right )}+\frac{2 A b-a B}{3 a^3 x^3}-\frac{A}{6 a^2 x^6} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.26378, antiderivative size = 97, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.1 \[ -\frac{b (3 A b-2 a B) \log \left (a+b x^3\right )}{3 a^4}+\frac{b \log (x) (3 A b-2 a B)}{a^4}+\frac{b (A b-a B)}{3 a^3 \left (a+b x^3\right )}+\frac{2 A b-a B}{3 a^3 x^3}-\frac{A}{6 a^2 x^6} \]
Antiderivative was successfully verified.
[In] Int[(A + B*x^3)/(x^7*(a + b*x^3)^2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 24.2102, size = 94, normalized size = 0.97 \[ - \frac{A}{6 a^{2} x^{6}} + \frac{b \left (A b - B a\right )}{3 a^{3} \left (a + b x^{3}\right )} + \frac{2 A b - B a}{3 a^{3} x^{3}} + \frac{b \left (3 A b - 2 B a\right ) \log{\left (x^{3} \right )}}{3 a^{4}} - \frac{b \left (3 A b - 2 B a\right ) \log{\left (a + b x^{3} \right )}}{3 a^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((B*x**3+A)/x**7/(b*x**3+a)**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.182045, size = 85, normalized size = 0.88 \[ -\frac{\frac{a^2 A}{x^6}+\frac{2 a b (a B-A b)}{a+b x^3}+\frac{2 a (a B-2 A b)}{x^3}+2 b (3 A b-2 a B) \log \left (a+b x^3\right )-6 b \log (x) (3 A b-2 a B)}{6 a^4} \]
Antiderivative was successfully verified.
[In] Integrate[(A + B*x^3)/(x^7*(a + b*x^3)^2),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.016, size = 116, normalized size = 1.2 \[ -{\frac{A}{6\,{a}^{2}{x}^{6}}}+{\frac{2\,Ab}{3\,{a}^{3}{x}^{3}}}-{\frac{B}{3\,{a}^{2}{x}^{3}}}+3\,{\frac{A\ln \left ( x \right ){b}^{2}}{{a}^{4}}}-2\,{\frac{bB\ln \left ( x \right ) }{{a}^{3}}}-{\frac{{b}^{2}\ln \left ( b{x}^{3}+a \right ) A}{{a}^{4}}}+{\frac{2\,b\ln \left ( b{x}^{3}+a \right ) B}{3\,{a}^{3}}}+{\frac{{b}^{2}A}{3\,{a}^{3} \left ( b{x}^{3}+a \right ) }}-{\frac{Bb}{3\,{a}^{2} \left ( b{x}^{3}+a \right ) }} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((B*x^3+A)/x^7/(b*x^3+a)^2,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.54896, size = 143, normalized size = 1.47 \[ -\frac{2 \,{\left (2 \, B a b - 3 \, A b^{2}\right )} x^{6} +{\left (2 \, B a^{2} - 3 \, A a b\right )} x^{3} + A a^{2}}{6 \,{\left (a^{3} b x^{9} + a^{4} x^{6}\right )}} + \frac{{\left (2 \, B a b - 3 \, A b^{2}\right )} \log \left (b x^{3} + a\right )}{3 \, a^{4}} - \frac{{\left (2 \, B a b - 3 \, A b^{2}\right )} \log \left (x^{3}\right )}{3 \, a^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^3 + A)/((b*x^3 + a)^2*x^7),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.230042, size = 208, normalized size = 2.14 \[ -\frac{2 \,{\left (2 \, B a^{2} b - 3 \, A a b^{2}\right )} x^{6} + A a^{3} +{\left (2 \, B a^{3} - 3 \, A a^{2} b\right )} x^{3} - 2 \,{\left ({\left (2 \, B a b^{2} - 3 \, A b^{3}\right )} x^{9} +{\left (2 \, B a^{2} b - 3 \, A a b^{2}\right )} x^{6}\right )} \log \left (b x^{3} + a\right ) + 6 \,{\left ({\left (2 \, B a b^{2} - 3 \, A b^{3}\right )} x^{9} +{\left (2 \, B a^{2} b - 3 \, A a b^{2}\right )} x^{6}\right )} \log \left (x\right )}{6 \,{\left (a^{4} b x^{9} + a^{5} x^{6}\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^3 + A)/((b*x^3 + a)^2*x^7),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 10.7351, size = 100, normalized size = 1.03 \[ - \frac{A a^{2} + x^{6} \left (- 6 A b^{2} + 4 B a b\right ) + x^{3} \left (- 3 A a b + 2 B a^{2}\right )}{6 a^{4} x^{6} + 6 a^{3} b x^{9}} - \frac{b \left (- 3 A b + 2 B a\right ) \log{\left (x \right )}}{a^{4}} + \frac{b \left (- 3 A b + 2 B a\right ) \log{\left (\frac{a}{b} + x^{3} \right )}}{3 a^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x**3+A)/x**7/(b*x**3+a)**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.219737, size = 201, normalized size = 2.07 \[ -\frac{{\left (2 \, B a b - 3 \, A b^{2}\right )}{\rm ln}\left ({\left | x \right |}\right )}{a^{4}} + \frac{{\left (2 \, B a b^{2} - 3 \, A b^{3}\right )}{\rm ln}\left ({\left | b x^{3} + a \right |}\right )}{3 \, a^{4} b} - \frac{2 \, B a b^{2} x^{3} - 3 \, A b^{3} x^{3} + 3 \, B a^{2} b - 4 \, A a b^{2}}{3 \,{\left (b x^{3} + a\right )} a^{4}} + \frac{6 \, B a b x^{6} - 9 \, A b^{2} x^{6} - 2 \, B a^{2} x^{3} + 4 \, A a b x^{3} - A a^{2}}{6 \, a^{4} x^{6}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^3 + A)/((b*x^3 + a)^2*x^7),x, algorithm="giac")
[Out]